package cn.tedu.project.oa.attendance.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Attendance {
    /** 唯一标识 */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 记录日期 */
    private Date attendanceDate;

    /** 员工手机号 */
    private String mobile;

    /** 员工姓名 */
    private String username;

    private String checkType;
    //打卡状态
    private String checkStatus;

    /** 打卡时间 */
    @JsonFormat(pattern = "HH:mm:ss")
    private Date checkTime;

    private Date createTime;
}
